package com.atguigu.lease.admin.mapper;

import com.atguigu.lease.model.bean.LeaseAgreement;
import com.atguigu.lease.model.dto.AgreementQueryDto;
import com.atguigu.lease.model.vo.AgreementItemVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
* @author 1
* @description 针对表【lease_agreement(租约信息表)】的数据库操作Mapper
* @createDate 2025-09-22 17:18:51
* @Entity com.atguigu.lease.model.bean.LeaseAgreement
*/
public interface LeaseAgreementMapper extends BaseMapper<LeaseAgreement> {

    Page<AgreementItemVo> selectAgreementItemVoPage(Page<AgreementItemVo> agreementItemVoPage,
                                              @Param("queryDto")  AgreementQueryDto queryDto);

    AgreementItemVo selectAgreementItemVoById(Long id);
}




